package com.yeshine.opendata.service.impl;

import com.yeshine.opendata.dao.IReportDao;
import com.yeshine.opendata.service.IReportService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/** Created by taohj on 2014/10/12.
 */
@Service
public class ReportServiceImpl implements IReportService {

    @Autowired
    private IReportDao dao;

    @Override
    public List<Map> orgDatasetsReport() {
       return dao.orgDatasetsReport();
    }

    @Override
    public List<Map> appthemeAppsReport() {
        return dao.appthemeAppsReport();
    }

    @Override
    public List<Map> getVisitsStatistics(Map map) {
        return dao.getVisitsStatistics(map);
    }

    @Override
    public List<Map> getDataVisitsStatistics(Map map) {
        return null;
    }

    @Override
    public List<Map> getDataDownloadStatistics(Map map) {
        return dao.getDataDownloadStatistics(map);
    }

    @Override
    public List<Map> getUserlastLoginStatistics(Map map) {
        return dao.getUserlastLoginStatistics(map);
    }
}
